﻿package mortal.game.view.mail.view
{
    import flash.events.*;
    import mortal.game.manager.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class MailHintIcon extends HintBaseIcon
    {
        private static var _instance:MailHintIcon;

        public function MailHintIcon(param1:String)
        {
            super(param1);
            return;
        }// end function

        override protected function clickHandler(event:MouseEvent) : void
        {
            GameManager.instance.popupModuleType(ModuleType.Mail);
            return;
        }// end function

        public static function get instance() : MailHintIcon
        {
            if (!_instance)
            {
                _instance = new MailHintIcon(ImagesConst.MailHintIcon);
            }
            return _instance;
        }// end function

    }
}
